console.log('hello ts')
let age: number = 18
console.log(age)

interface Person {
  name: string
  age: number
}

let person: Person = {
  name: '张三',
  age: 18
}

console.log(person.name)